package com.vrp3d.service;

import com.vrp3d.domain.dto.dist.DistForFrontDTO;
import com.vrp3d.domain.po.DistWithBLOBs;

import java.util.List;

/**
 * 字典
 *
 * @author vrp3d
 */
public interface DistService extends AbsService {

    /**
     * 根据类型查询_包含下级分类
     *
     * @param type
     * @return
     */
    List<DistForFrontDTO> findListByTypeContainsSubordinates(String type);

    /**
     * 根据id查询
     *
     * @param id
     * @return
     */
    DistWithBLOBs selectByPrimaryKey(Integer id);
}
